<%= start_form_tag %>
<div id="login">

<%= error_messages_for "user" %>

<label for="login"><%= _('First') %></label>
<%= text_field :user, :first %>

<label for="login"><%= _('Last') %></label>
<%= text_field :user, :last %>

<label for="login"><%= _('Login') %></label>
<%= text_field :user, :login %>

<label for="email"><%= _('Email') %></label>
<%= text_field :user, :email %>

<label for="password"><%= _('Password') %></label>
<%= password_field :user, :password %>

<label for="password_confirmation"><%= _('Confirm Password') %></label>
<%= password_field :user, :password_confirmation %>

<label>&nbsp;</label>
<%= submit_tag _('Sign up') %> 
<%= 
button_to_function "Cancel" do |page|
page.redirect_to :controller => "view", :action => "show_albums"
end
 %>
</div>

<%= end_form_tag %>
